import request from '@/utils/request'

// 查询四级联考递补体能测试列表
export function listDb_physical(query) {
  return request({
    url: '/system/db_physical/list',
    method: 'get',
    params: query
  })
}

// 查询四级联考递补体能测试详细
export function getDb_physical(id) {
  return request({
    url: '/system/db_physical/' + id,
    method: 'get'
  })
}

// 新增四级联考递补体能测试
export function addDb_physical(data) {
  return request({
    url: '/system/db_physical',
    method: 'post',
    data: data
  })
}

// 修改四级联考递补体能测试
export function updateDb_physical(data) {
  return request({
    url: '/system/db_physical',
    method: 'put',
    data: data
  })
}

// 删除四级联考递补体能测试
export function delDb_physical(id) {
  return request({
    url: '/system/db_physical/' + id,
    method: 'delete'
  })
}

// 导出四级联考递补体能测评
export function exportDb_physical(query) {
  return request({
    url: '/system/db_physical/export',
    method: 'post',
    params: query
  })
}

// 获取四级联考递补体能测评导入模板
export function importDb_physicalTemplate() {
  return request({
    url: '/system/db_physical/importTemplate',
    method: 'get'
  })
}

// 导入四级联考递补体能测评数据
export function importDb_physicalData(data) {
  return request({
    url: '/system/db_physical/importData',
    method: 'post',
    data: data
  })
}
